package cn.zl.ymcc.service;

import cn.zl.ymcc.entity.CourseOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.apache.rocketmq.client.exception.MQClientException;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zl
 * @since 2025-10-31
 */

        @Tag(name = "CourseOrder服务接口")

        public interface CourseOrderService extends IService<CourseOrder> {

    void generateOrder(Long courseId) throws MQClientException;

    boolean processOrderPayment(String messageBody, Object arg);

    boolean checkTransactionStatus(String transactionId, String messageBody);
}
